'Declaration
Public Overloads Shared Function GetBitmap( _
ByVal As Assembly, _
ByVal As String, _
ByVal As Single, _
ByVal () As Single, _
ByVal As IBitmapProcessing, _
ByVal As IBitmapProcessing _
) As Bitmap
'使用法
Dim assembly As Assembly
Dim resourcePath As String
Dim requestScaleFactor As Single
Dim scaleFactors() As Single
Dim prescaleProcessing As IBitmapProcessing
Dim postscaleProcessing As IBitmapProcessing
Dim value As Bitmap
value = DPIUtils.GetBitmap(assembly, resourcePath, requestScaleFactor, scaleFactors, prescaleProcessing, postscaleProcessing)